home *** CD-ROM | disk | FTP | other *** search
/ Enter 2005 December / enter-cd-12-2005.iso / Internet / SpamAware 4.0 / SpamAware-Setup.exe / {app} / rules / regression_tests.cf < prev    next >
Encoding:
Text File  |  2005-06-20  |  2.7 KB  |  64 lines

  1. # SpamAssassin rules file: regression tests
  2. #
  3. # This file contains tests perfomed on `make test`. It should not be
  4. # distributed.
  5. #
  6. # <@LICENSE>
  7. # Copyright 2004 Apache Software Foundation
  8. # Licensed under the Apache License, Version 2.0 (the "License");
  9. # you may not use this file except in compliance with the License.
  10. # You may obtain a copy of the License at
  11. #     http://www.apache.org/licenses/LICENSE-2.0
  12. # Unless required by applicable law or agreed to in writing, software
  13. # distributed under the License is distributed on an "AS IS" BASIS,
  14. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. # See the License for the specific language governing permissions and
  16. # limitations under the License.
  17. # </@LICENSE>
  18. #
  19. ###########################################################################
  20.  
  21. test DEAR_SOMETHING ok Dear IT professional,
  22. test DEAR_SOMETHING ok Dear Internet Investor:
  23. test DEAR_FRIEND ok Dear friend,
  24. test DEAR_FRIEND fail Dear Mr. Ithacus,
  25.  
  26. test FROM_ENDS_IN_NUMS     ok   matt1234@sergeant.org
  27. test FROM_ENDS_IN_NUMS     fail matt@sergeant.org
  28. test FROM_STARTS_WITH_NUMS     ok   1234matt@sergeant.org
  29. test FROM_STARTS_WITH_NUMS     fail matt@sergeant.org
  30. test FORGED_YAHOO_RCVD fail by mf1.lng.yahoo.com (8.11.1/8.11.1) id g3SDfPH19426
  31. test NUMERIC_HTTP_ADDR ok http://123456789/foo/bar
  32.  
  33. test US_DOLLARS_3 fail $-$NFbMF$K!"A49q$+$iLd$$9g$o$;$,;&E~$7$F$$$^$9!#
  34. test US_DOLLARS_3 ok OF US$75,000,000.00 ( SEVENTYFIVE
  35. test US_DOLLARS_3 ok DOLLAR(USD$30,000,000,00.)
  36. test US_DOLLARS_3 ok ($21,500,000.)
  37. test US_DOLLARS_3 ok ($ 152,000.000.00)
  38.  
  39. # note: have to use "." instead of "#", as it's the comment char
  40.  
  41. test TRACKER_ID     ok          2174Hzdm0-105YUqT8863DiDg0-616mqbE4931HEBc0-732qBHd6314l52
  42. test TRACKER_ID     ok          ofsknxxdqgtgqvsoiytkivajvtj
  43. test TRACKER_ID     fail        <!-- ADMINISTRIVIA -->
  44. test TRACKER_ID     fail        Donau-Dampfschifffahrts-Kapitaen
  45.  
  46. test __OBFUSCATING_COMMENT ok     This is a te<!--foo-->st
  47. test __OBFUSCATING_COMMENT fail   Not a <!-- problem --> here
  48. test __OBFUSCATING_COMMENT fail   or<!--problem--> here
  49. test __OBFUSCATING_COMMENT fail   This <tag><!-- neither --></tag> I hope
  50.  
  51. test HIDE_WIN_STATUS ok <a href=foo onMouseOver="window.status='bar';>
  52. test HIDE_WIN_STATUS fail attributes like href=foo onMouseOver="window.status='bar'"
  53. test HIDE_WIN_STATUS fail attributes like href=foo onMouseOver="flashiness"
  54.  
  55. test BAD_CREDIT ok   no credit checks
  56. test BAD_CREDIT ok   reestablish credit
  57. test BAD_CREDIT ok   establish good credit
  58. test BAD_CREDIT ok   repair your credit
  59. test BAD_CREDIT fail NOTICE: Your credit card company may place the words "San Antonio"
  60.  
  61.